If --enable-man=maybe (the default), and xsltproc is not available, the
configuration code would check for it, correctly set enable_man=no, then
incorrectly overwrite that with enable_man=yes, which would result in
later trying to execute $(XSLTPROC) when it’s empty.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #720
Approved by: cgwalters
AC_MSG_ERROR([xsltproc is required for --enable-man])
])
enable_man=no
+ ],[
+ enable_man=yes
])
- enable_man=yes
])
AM_CONDITIONAL(ENABLE_MAN, test "$enable_man" != no)